home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / os2 / pmcstex.zip / PM_ERX.ZIP / PROFILE.ERX < prev    next >
Text File  |  1996-06-05  |  1KB  |  42 lines

  1. /* Rexx example of accelerator key definition */
  2.    AF_CHAR        =   1   /* key style constants */
  3.    AF_VIRTUALKEY  =   2
  4.    AF_SCANCODE    =   4
  5.    AF_SHIFT       =   8
  6.    AF_CONTROL     =  16
  7.    AF_ALT         =  32
  8.    AF_LONEKEY     =  64
  9.  
  10.    VK_F1        = 32
  11.    VK_ALT       = 11
  12.  
  13. /* ; I prefer pm_keys.e file instead of those. Note: 122=z, 90=Z, 120=x, 88=X
  14. 'buildaccel *' (AF_CHAR + AF_CONTROL)      122 9800 'ma 1 72 1'  
  15. 'buildaccel *' (AF_CHAR + AF_CONTROL)       90 9801 'ma 1 72 1'
  16. 'buildaccel *' (AF_CHAR + AF_ALT)          120 9804 'ma 1 82 1'
  17. 'buildaccel *' (AF_CHAR + AF_ALT)           88 9805 'ma 1 82 1'
  18. 'activateaccel'     No argument => use current table name.
  19. */
  20.  
  21. /* WANT_CHAR_OPS=1 */
  22.  
  23. /* unix format by default */
  24. 'universal default_save_options /u'
  25.  
  26. 'ma 1 82'     ; this declares margins
  27. 'tabkey on'     ; tabulators on
  28.  
  29. 'link pm4epm'   ; pm_expansions and other tools needed by pmCSTeX
  30. 'link CSTeX'    ; all the pmCSTeX stuff
  31. 'link pm_keys'  ; my (PM) favourite hot keys
  32. 'link czech'    ; load Czech keyboard
  33.  
  34. 'link sampactn' ; load support for syntax hilighting
  35. 'link MyCNF'    ; load your config file
  36. 'expand on'     ; syntax hilighting on
  37. 'cstex_highlight_all S'
  38.   ; The command above ensures that syntax highliting is on for all files loaded
  39.   ; from the command line (i.e. not from within EPM; see MyCNF.e instead)
  40.  
  41. /* end of Profile.erx */
  42.